let reg1 = /[\\]/;
//^ - ] 
let str1 = 'abc\\def';
let result = reg1.exec(str1);
console.log(result);
